.lock {
  width: 32px;
  position: relative;
  padding-top: 20px;
  .lock-circle {
    width: 29px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: 10% 50%;
    transition: transform 0.3s;
    &.lock-circle-open {
      transform: translateX(-50%) rotateY(-180deg);
    }
  }

  .lock-body {
    width: 32px;
    height: 28px;
    background: #666 url('../../assets/svg/lock/key.svg') no-repeat 50% 50%;
    background-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    &.lock-body-disabled {
      background: #eee url('../../assets/svg/lock/key.svg') no-repeat 50% 50%;
      background-size: 18px;
    }
    &.lock-body-open {
      background: #20a5de url('../../assets/svg/lock/key.svg') no-repeat 50% 50%;
      background-size: 18px;
    }
  }
}
